<?php
class Error404 extends MY_Controller{
	
	function __construct(){
		parent::__construct();
		if(!$this->checkUserStatus()){
			redirect('login');
		}
	}
	
	function index(){
		
		$data['toDoList'] = $this->get_tasks();
		$data['title'] = $this->title('Erreur 404');
		$data['user'] = $this->aauth->get_user();
		$this->load->view($this->theme.'/header',$data);
		$this->load->view($this->theme.'/error404');
		$this->load->view($this->theme.'/footer');
		
		
	}
	
}